package com.wx.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wx.dao.SysUserMenuMapper;
import com.wx.entity.SysUserMenu;
import com.wx.entity.SysUserMenuExample;
import com.wx.service.SysUserMenuService;
import com.zyht.common.BaseDao;
import com.zyht.common.BaseServiceImpl;

@Service("sysUserMenuService")
public class SysUserMenuServiceImpl extends BaseServiceImpl<SysUserMenu, SysUserMenuExample> implements SysUserMenuService {

	@Resource
	private SysUserMenuMapper sysUserMenuMapper;
	
	@Override
	public BaseDao<SysUserMenu, SysUserMenuExample> dao(){

		return this.sysUserMenuMapper;
	}

	@Override
	public Integer insertBatch(List<SysUserMenu> list){

		return this.sysUserMenuMapper.batchInsert(list);
	}
}
